<div class="entry-content">
            <h1>Account Details</h1>
            <h3>Assigned Projects details</h3>
            <div class="clearfix">&nbsp;</div>
            <div id="account_Tab_Block" class="tabContainer">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
			<?php /*?><a href="<?php echo $logout_url;?>" class="btn btn-sm btn-info pull-right" style="margin-top:0px;">Log Out</a>
			&nbsp;&nbsp;<span class="pull-right" style="line-height:32px;">Welcome, <?php echo $name;?></span><img id="editPropAddress" class="pull-right" src="http://dev.wbpro.com/CLIENT/SPECTRUM/wp-content/themes/spectrum/images/edit_icon.png"  data-toggle="modal" data-target=".bs-editPropAddress-modal-md"><?php */?></div>
              <ul class="nav nav-tabs" role="tablist">
                <li class="active"><a href="#accountDetails" role="tab" data-toggle="tab">Account Details</a></li>
    
                <li><a href="#trackingDetails" role="tab" data-toggle="tab">Assigned Projects</a></li> 
                
              </ul>
              
              <!-- Tab panes -->
              <div class="tab-content">
			<div class="tab-pane active" id="accountDetails">
                <div class="form-horizontal">
            	<ul class="form-group">
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Name :
									</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $name; ?></span>
								</li> 
								
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Email :</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $email;?></span>
								</li> 
								
								
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Address :</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $address ;?></span>
								</li> 
								
								 
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">City :</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $city;?></span>
								</li> 
								
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">State :</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $state;?></span>
								</li> 
								
								 
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Zip :</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $zip;?></span>
								</li> 
								
								<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
									<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Phone :</label>
									<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><?php echo $phone;?></span>
								</li> 
							</ul>
           		</div>
                </div>
		  
  
                 <!-- Assigned Projects -->
                        <div class="tab-pane" id="trackingDetails">
                            
                             <div class="clearfix"></div>
                    <div class="table-responsive">
                        <table class="table table-striped table-bordered table-hover"> 
                         <tr>
                                <th class="col-lg-2 col-md-2 text-left">Order ID</th>
								<th class="col-lg-4 col-md-4 text-left">Project Status</th>
                                <th class="col-lg-3 col-md-4 text-center">Project details</th>
								 <th class="col-lg-3 col-md-4 text-center">Message</th>
                                  <th class="col-lg-3 col-md-4 text-center">OPtions</th>
                             
                            </tr><?php
							
						$query_trac = mysql_query("SELECT wp_spec_order_trac.order_id,
													   		   wp_spec_order_trac.track_status,
															   wp_spec_order_trac.track_message,
															   wp_spec_order_trac.message_for_assigned,
															   wp_spec_checkout.package_ids
														FROM wp_spec_order_trac 
														INNER JOIN  wp_spec_checkout 
														ON wp_spec_order_trac.order_id = wp_spec_checkout.id
														WHERE wp_spec_order_trac.assigned_user=".$user_id."");
						  while ($row = mysql_fetch_assoc($query_trac))
							{
								$order_id					 = $row['order_id'];
								$package_ids				 = $row['package_ids'];
								$track_status				 = $row['track_status']; 
								$track_message				 = $row['track_message'];  
								$message_for_assigned		 = $row['message_for_assigned'];
								$package_name = '';
							
								$pkg_ids = explode("-", $package_ids);
								foreach($pkg_ids as $vals){
									$objPackage->getPackageDetails($vals);
									$package_name.= $objPackage->name.'<br>'; 
									}
									 
					   		
							?>
							
							  <tr>
                                <td class="col-lg-2 col-md-2 text-left">#<?php echo $order_id;?></td>
								 <td class="col-lg-3 col-md-3 text-left"><?php echo  $objTrack->getTrackStatus($track_status);?></td>
                                <td class="col-lg-3 col-md-7 text-left"><?php echo $package_name;?></td>
								 <td class="col-lg-3 col-md-7 text-left"><?php echo $message_for_assigned;?></td>
                                 <td class="col-lg-3 col-md-7 text-left">  <span id="shedule_photoshot" class="pull-right" data-toggle="modal" data-target=".bs-shedule_photoshot-modal-md">Photo shot</span></td>
                                
                            </tr>
					<?php		} ?>
							
         
                   </table>
                        
                    </div>
                    
                    <div class="clearfix">&nbsp;</div>
                            
                        </div>
                      <!-- Track -->   
              </div>
            </div>
          </div>
          
          
          
  <div id="shedule_photoshot-modal"  class="modal fade  bs-shedule_photoshot-modal-md" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">Shedule a photo shot</h4>
      </div>
      <div class="modal-body">
         <div class="form-horizontal">
            	<ul class="form-group">
                	<li class="col-lg-12 colmd-12 col-sm-12 col-xs-12">
                    	<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Photo shot Date and Time :</label>
                        <span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><input type="text" class="form-control" ></span>
                    </li> 
                    
                	<li class="col-lg-12 colmd-12 col-sm-12 col-xs-12">
                    	<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Status :</label>
                        <span class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><select class="form-control"><option >Shoot Sheduled</option></select></span>
                    </li> 
                	<!--<li class="col-lg-12 colmd-12 col-sm-12 col-xs-12">
                    	<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Message</label>
                        <span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    	
                      </span>
                    </li> -->
                </ul>
            </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->



 <div id="editPropAddress-modal"  class="modal fade  bs-editPropAddress-modal-md" tabindex="-1" role="dialog" aria-hidden="true">
				  <div class="modal-dialog">
					<div class="modal-content">
					  <div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
						<h4 class="modal-title">Edit Billing Address</h4>
					  </div>
					  <form name="" method="post" action="">
					  <input type="hidden" value="<?php echo $_SESSION['user_ID'];?>" name="user_id">
					  <div class="modal-body">
						 <div class="form-horizontal">
								<ul class="form-group">
									
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">First Name :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="first_name" value="<?php echo $first_name ?>" class="form-control" ></span>
									</li> 
									
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Last Name :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="last_name" value="<?php echo $last_name ?>" class="form-control" ></span>
									</li> 
									
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">City :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="city" value="<?php echo $city ?>" class="form-control" ></span>
									</li> 
									
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">State :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="state" value="<?php echo $state ?>" class="form-control" ></span>
									</li> 
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Zip :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="zip" value="<?php echo $zip ?>" class="form-control" ></span>
									</li> 
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Phone :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="phone" value="<?php echo $phone ?>" class="form-control" ></span>
									</li> 
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Email :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<input type="text" name="email" value="<?php echo $email;	 ?>" class="form-control" ></span>
									</li> 
									<li class="col-lg-6 colmd-6 col-sm-6 col-xs-12">
										<label class="col-lg-12 col-md-12 col-sm-12 col-xs-12">Address :</label>
										<span class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
										<textarea name="address" class="form-control" ><?php echo $address ?></textarea></span>
									</li>
								</ul>
							</div>
					  </div>
					  <div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
						<input type="submit" name="save_bill_address" value="Save changes" class="btn btn-primary">
					  </div>
					  </form>
					</div><!-- /.modal-content -->
				  </div><!-- /.modal-dialog -->
				</div>
                            
		  